package com.baibei.ebec.sdk;

import android.os.Parcel;
import android.os.Parcelable;

import java.io.Serializable;

/**
 * Created by shenminjie on 2017/10/30.
 * mail:shenminjie@100bei.com
 */

public class SuggestInFundInfo implements Serializable, Parcelable {
    private String funds;
    private double minFund;

    public String getFunds() {
        return funds;
    }

    public void setFunds(String funds) {
        this.funds = funds;
    }

    public double getMinFund() {
        return minFund;
    }

    public void setMinFund(double minFund) {
        this.minFund = minFund;
    }

    @Override
    public String toString() {
        return "SuggestInFundInfo{" +
                "funds='" + funds + '\'' +
                ", minFund=" + minFund +
                '}';
    }

    public SuggestInFundInfo() {
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.funds);
        dest.writeDouble(this.minFund);
    }

    protected SuggestInFundInfo(Parcel in) {
        this.funds = in.readString();
        this.minFund = in.readDouble();
    }

    public static final Creator<SuggestInFundInfo> CREATOR = new Creator<SuggestInFundInfo>() {
        @Override
        public SuggestInFundInfo createFromParcel(Parcel source) {
            return new SuggestInFundInfo(source);
        }

        @Override
        public SuggestInFundInfo[] newArray(int size) {
            return new SuggestInFundInfo[size];
        }
    };
}
